package com.example.web.service.cabinetstatus.impl;

import com.example.web.service.cabinetstatus.StatusChangeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ToBePickupChangeService implements StatusChangeService {
    @Override
    public void toBeDeliver() {
        log.info("订单待取货状态，不支持将待取货状态转回待投递状态");
    }

    @Override
    public void toBeClose() {
        log.info("订单状态处于待取货,关闭订单将清空格子中所有的物品,并将相关订单置为关闭");
    }

    @Override
    public void toBePickUp() {
        log.info("订单已处于待取货订单，不允许再次设置为待取货");
    }

    @Override
    public void toCancel() {
        log.info("订单状态处于待取货,取消订单将清空格子中所有的物品,并将相关订单置为取消");
    }
}
